<?php

namespace Demo;

class TimerExecute extends \HC\Swoole\Timer
{
    public function timer(): bool
    {
        return true;
    }

    public function execute()
    {
        echo "timer-" . time() . "\n";
    }
}